<template>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Vue Router</title>
  <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.css" rel="stylesheet">
</head>
<body>
<div id="app">
  <div>
    <div class="row">
      <div class="col-xs-offset-2 col-xs-8">
        <div class="page-header">
			<h2>Vue Router Demo</h2>
		</div>
      </div>
    </div>
    <div class="row">
      <div class="col-xs-2 col-xs-offset-2">
        <!-- <div class="list-group">
			<a class="list-group-item" href="/about">About</a>
			<a class="list-group-item myActive" href="/home" aria-current="page">Home</a>
        </div> -->
        <router-link class="list-group-item" to="/about">About</router-link>
				<router-link class="list-group-item" to="/home">Home</router-link>
      </div>
      <div class="col-xs-6">
        <div class="panel">
          <div class="panel-body">
            <router-view/>
            <!-- <div><h2>Home组件内容</h2>
            
              <div>
                <ul class="nav nav-tabs">
                  <li><a href="/home/news">News</a></li>
                  <li><a href="/home/message" class="myActive" aria-current="page">Message</a></li>
                </ul>
                <div>
                  <div>
                    <ul>
                      <li>
						<a href="/home/message/1">message001</a> &nbsp;&nbsp;
							<button>push</button> &nbsp;
							<button>replace</button>
                      </li>
                      <li><a href="/home/message/2">message002</a> &nbsp;&nbsp;<button>push</button> &nbsp;<button>
                        replace
                      </button>
                      </li>
                      <li><a href="/home/message/4">message004</a> &nbsp;&nbsp;<button>push</button> &nbsp;<button>
                        replace
                      </button>
                      </li>
                    </ul>
                    <button>前进</button>
                    <button>后退</button>
                  </div>
                </div>
              </div>
            </div> -->
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</body>
</html>
</template>

<script>

export default {
  name: 'App',
  components: {
  }
}
</script>

<style>

</style>
